@echo off
echo Stopping existing Java processes...
taskkill /F /IM java.exe 2>nul

echo.
echo Rebuilding application...
cd /d "C:\Users\lyc\Desktop\spb"
call mvn clean compile -DskipTests

echo.
echo Starting application...
call mvn spring-boot:run

pause
